<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="javascript/funcoes.js"></script>
    <script type="text/javascript" src="javascript/calendar.js"></script>
    <script type="text/javascript" src="javascript/calendar-setup.js"></script>
    <script type="text/javascript" src="javascript/calendar-pt.js"></script>
    <link rel="stylesheet" type="text/css" href="estilos/skins/aqua/theme.css" />
    <link href="estilos/css.css" rel="stylesheet" type="text/css" />
    <link rel="ruicadete icon" href="images/logo.ico"/>
<title>Planilhas Cadastradas</title>
</head>
<body>

		<div id="header" align="center">
		
			<img src="images/logo.gif" alt="" width="90" height="90"/>
			<img src="images/texto2.gif" alt=""/>
			
		</div>

<h3>Planilhas Cadastradas</h3>
<hr/>

<br>

<div id="voltar"><a href="index.jsp?local=eplanilhas">Voltar</a></div>

<br>

<p>Clique no <strong>nome da planilha</strong> para editar.</p>

<c:set var="cliente" value="${sessionScope.Cliente}"></c:set>

<div id="divResultados" class="tjlp">

	 <display:table name="${requestScope.Planilhas}" pagesize="15" requestURI="controlador?opcao=LISTAR_PLANILHA"
	 export="true" id="tabelaResultados">
		<display:setProperty name="export.pdf.filename" value="Planilhas.pdf"/>
		<display:setProperty name="export.excel.filename" value="Planilhas.xls"/>
		<display:setProperty name="export.csv.filename" value="Planilhas.csv"/>	
	    <display:column property="nome_planilha" title="Nome da Planilha" href="controlador?opcao=ALTERAR_EXCLUIR_PLANILHA" paramId="id_planilha" paramProperty="id" sortable="true"/>
	    <display:setProperty name="export.pdf" value="true"/>	    
	</display:table>
	
</div>	

</body>
</html>